package cn.ad.server.web.spring.model.gdt;

import com.baidu.bjf.remoting.protobuf.EnumReadable;

public enum GDTConnectionType implements EnumReadable{
	
	CONNECTIONTYPE_UNKNOWN(0, "未知"),
	CONNECTIONTYPE_WIFI(1, "WiFi"),
	CONNECTIONTYPE_2G(2, "2G"),
	CONNECTIONTYPE_3G(3, "3G"),
	CONNECTIONTYPE_4G(4, "4G");
	
	private int value;
	private String name;
	
	GDTConnectionType(int value, String name) {
		this.value = value;
		this.name = name;
	}

    public String getName() {
        return name;
    }

	@Override
	public int value() {
		return value;
	}
	
}
